Skip to content

Fix Fact Checker model resolution in plan validation - #2045

Merged
bradygaster merged 1 commit into
devfrom
bradygaster-issue-4-validation
Sep 15, 2026
Merged

bradygaster merged 1 commit into
devfrom
bradygaster-issue-4-validation

Conversation

@bradygaster

Copy link
Copy Markdown
Collaborator

Plan validation currently fails before adversarial review can run because the Fact Checker sub-agent uses the literal inherited model, which may not have AI credits pricing configured. This was reproduced in octodemo/eshop-bradyg-dev#4.

This change uses automatic model resolution for the Fact Checker while preserving the existing fail-closed behavior for unavailable or empty adversarial evidence. It also adds a regression assertion preventing the workflow from returning to the unsupported literal inherited model.

Validation

  • Targeted plan lifecycle tests: 69/69 passed
  • Strict gh aw compile: passed
  • npm run build: passed
  • git diff --check: passed

Avoid deterministic plan validation failures when the inherited model lacks AI credits pricing. Add regression coverage for the configured model.

Refs octodemo/eshop-bradyg-dev#4

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot AI lite review requested due to automatic review settings September 15, 2026 07:47
@github-actions

Copy link
Copy Markdown
Contributor

🟡 Impact Analysis — PR #2045

Risk tier: 🟡 MEDIUM

📊 Summary

Metric Count
Files changed 2
Files added 0
Files modified 2
Files deleted 0
Modules touched 2

🎯 Risk Factors

  • 2 files changed (≤5 → LOW)
  • 2 modules touched (2-4 → MEDIUM)

📦 Modules Affected

root (1 file)
  • workflows/squad.md
tests (1 file)
  • test/gh-aw-plan-lifecycle.test.ts

This report is generated automatically for every PR. See #733 for details.

@github-actions

github-actions Bot commented Sep 15, 2026 •

Copy link
Copy Markdown
Contributor

🛫 PR Readiness Check

ℹ️ This comment updates on each push. Last checked: commit d87e222

PR Scope: 🔧 Infrastructure

⚠️ 1 item(s) to address before review

Status Check Details
✅ Single commit 1 commit — clean history
✅ Not in draft Ready for review
✅ Branch up to date Up to date with dev
❌ Copilot review No Copilot review yet — it may still be processing
✅ Changeset present No source files changed — changeset not required
✅ Scope clean No .squad/ or docs/proposals/ files
✅ No merge conflicts No merge conflicts
✅ Copilot threads resolved No Copilot review threads
✅ CI passing All checks passing

Files Changed (2 files, +6 −1)

File +/−
test/gh-aw-plan-lifecycle.test.ts +5 −0
workflows/squad.md +1 −1

Total: +6 −1


This check runs automatically on every push. Fix any ❌ items and push again.
See CONTRIBUTING.md and PR Requirements for details.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟢 Approval recommended

No unresolved blocking issues were identified.

Review tier: Lite
Findings: None

What changed in this PR

Fixes Fact Checker model resolution during plan validation by replacing the unsupported inherited value with automatic resolution.

Changes:

  • Uses auto model resolution.
  • Adds regression coverage preventing inherited from returning.
File Summary
workflows/​squad.md Updates Fact Checker model resolution.
test/​gh-aw-plan-lifecycle.test.ts Verifies the model configuration contract.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@bradygaster
bradygaster merged commit 65db730 into dev Sep 15, 2026
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants